.class public Lcom/estrongs/android/pop/view/utils/b;
.super Ljava/lang/Object;
.source "AppRunner.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/estrongs/android/pop/view/utils/b$k;
    }
.end annotation


# static fields
.field private static final a:Ljava/util/concurrent/atomic/AtomicInteger;


# direct methods
.method static constructor <clinit>()V
    .locals 2

    .line 1
    new-instance v0, Ljava/util/concurrent/atomic/AtomicInteger;

    const/16 v1, 0x27ee

    invoke-direct {v0, v1}, Ljava/util/concurrent/atomic/AtomicInteger;-><init>(I)V

    sput-object v0, Lcom/estrongs/android/pop/view/utils/b;->a:Ljava/util/concurrent/atomic/AtomicInteger;

    return-void
.end method

.method private static a(Landroid/app/Activity;Ljava/lang/String;)Lcom/estrongs/android/pop/view/utils/c$c;
    .locals 1

    .line 18
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->x(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    if-eqz p1, :cond_0

    const-string v0, ""

    .line 19
    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_0

    .line 20
    invoke-static {p0, p1}, Lcom/estrongs/android/pop/view/utils/c;->a(Landroid/content/Context;Ljava/lang/String;)Lcom/estrongs/android/pop/view/utils/c$c;

    move-result-object p0

    return-object p0

    :cond_0
    const/4 p0, 0x0

    return-object p0
.end method

.method public static a(Landroid/content/Context;Landroid/content/Intent;)Lcom/estrongs/android/pop/view/utils/c$c;
    .locals 6

    .line 115
    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0, p1}, Landroid/content/Intent;-><init>(Landroid/content/Intent;)V

    .line 116
    invoke-static {p0, v0}, Lcom/estrongs/android/pop/view/utils/c;->a(Landroid/content/Context;Landroid/content/Intent;)[Lcom/estrongs/android/pop/view/utils/c$a;

    move-result-object p0

    const/4 p1, 0x0

    if-eqz p0, :cond_3

    .line 117
    array-length v0, p0

    const/4 v1, 0x0

    move-object v2, p1

    :goto_0
    if-ge v1, v0, :cond_4

    aget-object v3, p0, v1

    .line 118
    iget-object v4, v3, Lcom/estrongs/android/pop/view/utils/c$a;->c:Ljava/lang/String;

    const-string v5, "com.estrongs"

    invoke-virtual {v4, v5}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v4

    if-eqz v4, :cond_2

    .line 119
    iget-object v4, v3, Lcom/estrongs/android/pop/view/utils/c$a;->e:Ljava/lang/String;

    const-string v5, "android.intent.action.VIEW"

    invoke-virtual {v4, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_1

    .line 120
    iget-object v2, v3, Lcom/estrongs/android/pop/view/utils/c$a;->d:Ljava/lang/String;

    const-string v4, "com.estrongs.android.pop.app.PopChromecastPlayer"

    invoke-virtual {v4, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_0

    goto :goto_1

    :cond_0
    move-object v2, v3

    goto :goto_2

    .line 121
    :cond_1
    iget-object v4, v3, Lcom/estrongs/android/pop/view/utils/c$a;->e:Ljava/lang/String;

    const-string v5, "android.intent.action.EDIT"

    invoke-virtual {v4, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_2

    :goto_1
    move-object v2, v3

    :cond_2
    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    :cond_3
    move-object v2, p1

    :cond_4
    :goto_2
    if-eqz v2, :cond_5

    .line 122
    new-instance p1, Lcom/estrongs/android/pop/view/utils/c$c;

    iget-object p0, v2, Lcom/estrongs/android/pop/view/utils/c$a;->c:Ljava/lang/String;

    iget-object v0, v2, Lcom/estrongs/android/pop/view/utils/c$a;->d:Ljava/lang/String;

    iget-object v1, v2, Lcom/estrongs/android/pop/view/utils/c$a;->e:Ljava/lang/String;

    invoke-direct {p1, p0, v0, v1}, Lcom/estrongs/android/pop/view/utils/c$c;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    :cond_5
    return-object p1
.end method

.method static synthetic a()Ljava/util/concurrent/atomic/AtomicInteger;
    .locals 1

    .line 2
    sget-object v0, Lcom/estrongs/android/pop/view/utils/b;->a:Ljava/util/concurrent/atomic/AtomicInteger;

    return-object v0
.end method

.method public static a(Landroid/app/Activity;Landroid/content/Intent;Ljava/lang/String;)V
    .locals 9
    .param p0    # Landroid/app/Activity;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param

    if-eqz p2, :cond_a

    .line 60
    instance-of v0, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity;

    if-eqz v0, :cond_a

    .line 61
    move-object v0, p0

    check-cast v0, Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->b0()Ljava/lang/String;

    move-result-object v0

    .line 62
    invoke-static {v0}, Lcom/estrongs/android/util/h0;->L0(Ljava/lang/String;)Z

    move-result v1

    .line 63
    invoke-static {v0}, Lcom/estrongs/android/util/h0;->Q1(Ljava/lang/String;)Z

    move-result v2

    .line 64
    invoke-static {v0}, Lcom/estrongs/android/util/h0;->v1(Ljava/lang/String;)Z

    move-result v3

    .line 65
    invoke-static {v0}, Lcom/estrongs/android/util/h0;->z2(Ljava/lang/String;)Z

    move-result v4

    .line 66
    invoke-static {v0}, Lcom/estrongs/android/util/h0;->D1(Ljava/lang/String;)Z

    move-result v5

    .line 67
    invoke-static {v0}, Lcom/estrongs/android/util/h0;->Q0(Ljava/lang/String;)Z

    move-result v6

    .line 68
    invoke-static {v0}, Lcom/estrongs/android/util/h0;->X1(Ljava/lang/String;)Z

    move-result v0

    const-string v7, "sd"

    if-eqz v0, :cond_0

    move-object v0, v7

    goto :goto_1

    :cond_0
    if-nez v1, :cond_2

    if-nez v2, :cond_2

    if-nez v3, :cond_2

    if-nez v4, :cond_2

    if-nez v5, :cond_2

    if-eqz v6, :cond_1

    goto :goto_0

    :cond_1
    const-string v0, ""

    goto :goto_1

    :cond_2
    :goto_0
    const-string v0, "lib"

    .line 69
    :goto_1
    invoke-static {p2}, Lcom/estrongs/android/util/h0;->x(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    .line 70
    invoke-static {p2}, Lcom/estrongs/android/util/n0;->k(Ljava/lang/String;)Z

    move-result v2

    const-string v3, "unknown"

    if-eqz v2, :cond_3

    const-string v2, "audio"

    goto :goto_2

    .line 71
    :cond_3
    invoke-static {p2}, Lcom/estrongs/android/util/n0;->Q(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_4

    const-string v2, "video"

    goto :goto_2

    .line 72
    :cond_4
    invoke-static {p2}, Lcom/estrongs/android/util/n0;->z(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_5

    const-string v2, "image"

    goto :goto_2

    .line 73
    :cond_5
    invoke-static {p2}, Lcom/estrongs/android/util/n0;->m(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_6

    const-string v2, "text"

    goto :goto_2

    .line 74
    :cond_6
    invoke-static {p2}, Lcom/estrongs/android/util/n0;->j(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_7

    const-string v2, "zip"

    goto :goto_2

    .line 75
    :cond_7
    invoke-static {p2}, Lcom/estrongs/android/util/n0;->u(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_8

    const-string v2, "eslock"

    goto :goto_2

    :cond_8
    move-object v2, v3

    .line 76
    :goto_2
    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v4

    if-eqz v4, :cond_9

    move-object v1, v3

    .line 77
    :cond_9
    new-instance v3, Lorg/json/JSONObject;

    invoke-direct {v3}, Lorg/json/JSONObject;-><init>()V

    .line 78
    :try_start_0
    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v4

    if-nez v4, :cond_a

    invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v4

    if-nez v4, :cond_a

    const-string v4, "from"

    .line 79
    invoke-virtual {v3, v4, v0}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string v0, "filetype"

    .line 80
    invoke-virtual {v3, v0, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string v0, "suffix"

    .line 81
    invoke-virtual {v3, v0, v1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    .line 82
    invoke-static {}, Lcom/estrongs/android/statistics/b;->b()Lcom/estrongs/android/statistics/b;

    move-result-object v0

    invoke-virtual {v0, v7, v3}, Lcom/estrongs/android/statistics/b;->a(Ljava/lang/String;Lorg/json/JSONObject;)V
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_3

    :catch_0
    nop

    .line 83
    :cond_a
    :goto_3
    invoke-virtual {p1}, Landroid/content/Intent;->getExtras()Landroid/os/Bundle;

    move-result-object v0

    const/4 v1, 0x0

    if-eqz v0, :cond_b

    const-string v2, "by_open_as"

    .line 84
    invoke-virtual {v0, v2, v1}, Landroid/os/Bundle;->getBoolean(Ljava/lang/String;Z)Z

    move-result v0

    if-eqz v0, :cond_b

    const/4 v1, 0x1

    :cond_b
    if-nez v1, :cond_13

    .line 85
    invoke-static {p2}, Lcom/estrongs/android/util/h0;->y(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/estrongs/android/util/h0;->x(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 86
    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    const/4 v8, 0x0

    if-nez v1, :cond_c

    .line 87
    invoke-static {p0, v0}, Lcom/estrongs/android/pop/view/utils/c;->a(Landroid/content/Context;Ljava/lang/String;)Lcom/estrongs/android/pop/view/utils/c$c;

    move-result-object v1

    goto :goto_4

    :cond_c
    move-object v1, v8

    :goto_4
    if-eqz v1, :cond_13

    .line 88
    :try_start_1
    invoke-virtual {p1}, Landroid/content/Intent;->getData()Landroid/net/Uri;

    move-result-object v2

    if-eqz v2, :cond_d

    const-string v3, "content"

    .line 89
    invoke-virtual {v2}, Landroid/net/Uri;->getScheme()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_d

    .line 90
    iget-object v3, v1, Lcom/estrongs/android/pop/view/utils/c$c;->a:Ljava/lang/String;

    const/4 v4, 0x3

    invoke-virtual {p0, v3, v2, v4}, Landroid/app/Activity;->grantUriPermission(Ljava/lang/String;Landroid/net/Uri;I)V

    .line 91
    :cond_d
    iget-object v3, v1, Lcom/estrongs/android/pop/view/utils/c$c;->a:Ljava/lang/String;

    iget-object v4, v1, Lcom/estrongs/android/pop/view/utils/c$c;->b:Ljava/lang/String;

    invoke-virtual {p1, v3, v4}, Landroid/content/Intent;->setClassName(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 92
    iget-object v3, v1, Lcom/estrongs/android/pop/view/utils/c$c;->c:Ljava/lang/String;

    if-eqz v3, :cond_e

    .line 93
    iget-object v3, v1, Lcom/estrongs/android/pop/view/utils/c$c;->c:Ljava/lang/String;

    invoke-virtual {p1, v3}, Landroid/content/Intent;->setAction(Ljava/lang/String;)Landroid/content/Intent;

    :cond_e
    const-string v3, "com.estrongs.android.pop"

    .line 94
    iget-object v4, v1, Lcom/estrongs/android/pop/view/utils/c$c;->a:Ljava/lang/String;

    invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_f

    .line 95
    invoke-static {v2}, Lcom/estrongs/android/pop/app/FileContentProvider;->c(Landroid/net/Uri;)Z

    move-result v3

    if-eqz v3, :cond_f

    .line 96
    invoke-static {v2}, Lcom/estrongs/android/pop/app/FileContentProvider;->c(Landroid/net/Uri;)Z

    move-result v3

    if-eqz v3, :cond_10

    .line 97
    invoke-static {v2}, Lcom/estrongs/android/pop/app/FileContentProvider;->a(Landroid/net/Uri;)Ljava/io/File;

    move-result-object v2

    invoke-static {v2}, Landroid/net/Uri;->fromFile(Ljava/io/File;)Landroid/net/Uri;

    move-result-object v2

    invoke-virtual {p1}, Landroid/content/Intent;->getType()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {p1, v2, v3}, Landroid/content/Intent;->setDataAndType(Landroid/net/Uri;Ljava/lang/String;)Landroid/content/Intent;

    goto :goto_5

    .line 98
    :cond_f
    iget-object v2, v1, Lcom/estrongs/android/pop/view/utils/c$c;->a:Ljava/lang/String;

    invoke-static {v2}, Lcom/estrongs/android/pop/view/utils/b;->c(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_10

    const v2, 0x8000

    .line 99
    invoke-static {p1, v2}, Lcom/estrongs/android/pop/view/utils/b;->a(Landroid/content/Intent;I)V

    .line 100
    :cond_10
    :goto_5
    instance-of v2, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity;

    if-eqz v2, :cond_11

    .line 101
    move-object v2, p0

    check-cast v2, Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {v2, p1}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->a(Landroid/content/Intent;)V

    goto :goto_6

    .line 102
    :cond_11
    invoke-virtual {p0, p1}, Landroid/app/Activity;->startActivity(Landroid/content/Intent;)V

    .line 103
    :goto_6
    invoke-static {}, Les/ru;->i()Les/ru;

    move-result-object v2

    invoke-virtual {v2, p2}, Les/ru;->b(Ljava/lang/String;)V

    const-wide/16 v2, -0x1

    .line 104
    invoke-static {p2}, Lcom/estrongs/android/util/h0;->y1(Ljava/lang/String;)Z

    move-result v4

    if-eqz v4, :cond_12

    .line 105
    invoke-static {p2}, Lcom/estrongs/fs/impl/local/f;->e(Ljava/lang/String;)J

    move-result-wide v2

    :cond_12
    move-wide v5, v2

    .line 106
    iget-object v2, v1, Lcom/estrongs/android/pop/view/utils/c$c;->a:Ljava/lang/String;

    iget-object v3, v1, Lcom/estrongs/android/pop/view/utils/c$c;->b:Ljava/lang/String;

    const/4 v4, 0x1

    const-string v7, "-"

    move-object v1, v0

    invoke-static/range {v1 .. v7}, Lcom/estrongs/android/pop/view/utils/b;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZJLjava/lang/String;)V
    :try_end_1
    .catch Landroid/content/ActivityNotFoundException; {:try_start_1 .. :try_end_1} :catch_2
    .catch Ljava/lang/SecurityException; {:try_start_1 .. :try_end_1} :catch_1

    return-void

    .line 107
    :catch_1
    invoke-virtual {p1, v8}, Landroid/content/Intent;->setComponent(Landroid/content/ComponentName;)Landroid/content/Intent;

    .line 108
    invoke-static {p0, v0, v8}, Lcom/estrongs/android/pop/view/utils/c;->a(Landroid/app/Activity;Ljava/lang/String;Lcom/estrongs/android/pop/view/utils/c$c;)V

    goto :goto_7

    .line 109
    :catch_2
    invoke-virtual {p1, v8}, Landroid/content/Intent;->setComponent(Landroid/content/ComponentName;)Landroid/content/Intent;

    .line 110
    invoke-static {p0, v0, v8}, Lcom/estrongs/android/pop/view/utils/c;->a(Landroid/app/Activity;Ljava/lang/String;Lcom/estrongs/android/pop/view/utils/c$c;)V

    :cond_13
    :goto_7
    if-nez p2, :cond_14

    .line 111
    invoke-virtual {p0, p1}, Landroid/app/Activity;->startActivity(Landroid/content/Intent;)V

    goto :goto_8

    .line 112
    :cond_14
    :try_start_2
    invoke-static {p0, p2, p1}, Lcom/estrongs/android/pop/app/OpenRecommActivity;->a(Landroid/content/Context;Ljava/lang/String;Landroid/content/Intent;)V
    :try_end_2
    .catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_3

    goto :goto_8

    .line 113
    :catch_3
    invoke-virtual {p0, p1}, Landroid/app/Activity;->startActivity(Landroid/content/Intent;)V

    .line 114
    :goto_8
    invoke-static {}, Les/ru;->i()Les/ru;

    move-result-object p0

    invoke-virtual {p0, p2}, Les/ru;->b(Ljava/lang/String;)V

    return-void
.end method

.method static synthetic a(Landroid/app/Activity;Ljava/lang/String;IZ)V
    .locals 0

    .line 6
    invoke-static {p0, p1, p2, p3}, Lcom/estrongs/android/pop/view/utils/b;->c(Landroid/app/Activity;Ljava/lang/String;IZ)V

    return-void
.end method

.method public static a(Landroid/app/Activity;Ljava/lang/String;Ljava/lang/Class;)V
    .locals 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/app/Activity;",
            "Ljava/lang/String;",
            "Ljava/lang/Class<",
            "*>;)V"
        }
    .end annotation

    .line 46
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->U1(Ljava/lang/String;)Z

    move-result v0

    const v1, 0x7f11012b

    if-eqz v0, :cond_0

    .line 47
    invoke-static {p0, v1}, Lcom/estrongs/android/pop/utils/i;->a(Landroid/content/Context;I)V

    goto :goto_1

    .line 48
    :cond_0
    new-instance v0, Landroid/content/Intent;

    const-string v2, "android.intent.action.VIEW"

    invoke-direct {v0, v2}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    const/high16 v2, 0x10000000

    .line 49
    invoke-virtual {v0, v2}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

    const-string v2, "archive_file_name"

    .line 50
    invoke-virtual {v0, v2, p1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const/4 v2, 0x1

    const-string v3, "islocalopen"

    .line 51
    invoke-virtual {v0, v3, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    if-eqz p2, :cond_1

    .line 52
    invoke-virtual {v0, p0, p2}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;

    .line 53
    :cond_1
    invoke-static {p1}, Lcom/estrongs/android/util/n0;->L(Ljava/lang/String;)Z

    move-result p2

    if-eqz p2, :cond_2

    const-string p2, "application/x-rar-compressed"

    goto :goto_0

    .line 54
    :cond_2
    invoke-static {p1}, Lcom/estrongs/android/util/n0;->x(Ljava/lang/String;)Z

    move-result p2

    if-eqz p2, :cond_3

    const-string p2, "application/x-gzip"

    goto :goto_0

    .line 55
    :cond_3
    invoke-static {p1}, Lcom/estrongs/android/util/n0;->f(Ljava/lang/String;)Z

    move-result p2

    if-eqz p2, :cond_4

    const-string p2, "application/x-7z-compressed"

    goto :goto_0

    :cond_4
    const-string p2, "application/zip"

    .line 56
    :goto_0
    new-instance v2, Ljava/io/File;

    invoke-direct {v2, p1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-static {p0, v2}, Lcom/estrongs/android/util/l;->a(Landroid/content/Context;Ljava/io/File;)Landroid/net/Uri;

    move-result-object v2

    .line 57
    invoke-virtual {v0, v2, p2}, Landroid/content/Intent;->setDataAndType(Landroid/net/Uri;Ljava/lang/String;)Landroid/content/Intent;

    .line 58
    :try_start_0
    invoke-static {p0, v0, p1}, Lcom/estrongs/android/pop/view/utils/b;->a(Landroid/app/Activity;Landroid/content/Intent;Ljava/lang/String;)V
    :try_end_0
    .catch Landroid/content/ActivityNotFoundException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_1

    .line 59
    :catch_0
    invoke-static {p0, v1}, Lcom/estrongs/android/pop/utils/i;->a(Landroid/content/Context;I)V

    :goto_1
    return-void
.end method

.method static synthetic a(Landroid/app/Activity;Ljava/lang/String;Ljava/lang/String;)V
    .locals 0

    .line 1
    invoke-static {p0, p1, p2}, Lcom/estrongs/android/pop/view/utils/b;->b(Landroid/app/Activity;Ljava/lang/String;Ljava/lang/String;)V

    return-void
.end method

.method public static a(Landroid/app/Activity;Ljava/lang/String;Ljava/lang/String;Lcom/estrongs/android/util/TypedMap;)V
    .locals 7

    const-string v0, "view_from"

    .line 24
    invoke-static {p2}, Lcom/estrongs/android/util/o0;->a(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_0

    goto :goto_0

    :cond_0
    move-object p1, p2

    :goto_0
    const-string p2, "/sdcard/"

    .line 25
    invoke-virtual {p1, p2}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result p2

    if-eqz p2, :cond_1

    .line 26
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->c(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    .line 27
    :cond_1
    :try_start_0
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->U1(Ljava/lang/String;)Z

    move-result p2
    :try_end_0
    .catch Landroid/content/ActivityNotFoundException; {:try_start_0 .. :try_end_0} :catch_0
    .catch Ljava/lang/NullPointerException; {:try_start_0 .. :try_end_0} :catch_0

    const-string v1, "image/*"

    const/4 v2, 0x1

    const-string v3, "islocalopen"

    const-string v4, "show_hidelist_file"

    const-string v5, "by_open_as"

    if-eqz p2, :cond_2

    .line 28
    :try_start_1
    new-instance p2, Landroid/content/Intent;

    const-class v0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;

    invoke-direct {p2, p0, v0}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 29
    invoke-virtual {p3, v5}, Lcom/estrongs/android/util/TypedMap;->getBoolean(Ljava/lang/String;)Z

    move-result v0

    invoke-virtual {p2, v5, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    .line 30
    invoke-virtual {p3, v4}, Lcom/estrongs/android/util/TypedMap;->getBoolean(Ljava/lang/String;)Z

    move-result p3

    invoke-virtual {p2, v4, p3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    .line 31
    invoke-virtual {p2, v3, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    .line 32
    invoke-static {p1}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object p1

    invoke-virtual {p2, p1, v1}, Landroid/content/Intent;->setDataAndType(Landroid/net/Uri;Ljava/lang/String;)Landroid/content/Intent;

    .line 33
    invoke-virtual {p0, p2}, Landroid/app/Activity;->startActivity(Landroid/content/Intent;)V

    goto :goto_2

    .line 34
    :cond_2
    new-instance p2, Landroid/content/Intent;

    const-string v6, "android.intent.action.VIEW"

    invoke-direct {p2, v6}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    .line 35
    invoke-virtual {p3, v5}, Lcom/estrongs/android/util/TypedMap;->getBoolean(Ljava/lang/String;)Z

    move-result v6

    invoke-virtual {p2, v5, v6}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    .line 36
    invoke-virtual {p3, v4}, Lcom/estrongs/android/util/TypedMap;->getBoolean(Ljava/lang/String;)Z

    move-result v5

    invoke-virtual {p2, v4, v5}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    .line 37
    invoke-virtual {p2, v3, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    const-string v2, ""

    .line 38
    invoke-virtual {p3, v0, v2}, Lcom/estrongs/android/util/TypedMap;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object p3

    .line 39
    invoke-static {p3}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-nez v2, :cond_3

    .line 40
    invoke-virtual {p2, v0, p3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 41
    :cond_3
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->y1(Ljava/lang/String;)Z

    move-result p3

    if-eqz p3, :cond_4

    .line 42
    new-instance p3, Ljava/io/File;

    invoke-direct {p3, p1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-static {p0, p3}, Lcom/estrongs/android/util/l;->a(Landroid/content/Context;Ljava/io/File;)Landroid/net/Uri;

    move-result-object p3

    goto :goto_1

    .line 43
    :cond_4
    invoke-static {p1}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object p3

    .line 44
    :goto_1
    invoke-virtual {p2, p3, v1}, Landroid/content/Intent;->setDataAndType(Landroid/net/Uri;Ljava/lang/String;)Landroid/content/Intent;

    .line 45
    invoke-static {p0, p2, p1}, Lcom/estrongs/android/pop/view/utils/b;->a(Landroid/app/Activity;Landroid/content/Intent;Ljava/lang/String;)V
    :try_end_1
    .catch Landroid/content/ActivityNotFoundException; {:try_start_1 .. :try_end_1} :catch_0
    .catch Ljava/lang/NullPointerException; {:try_start_1 .. :try_end_1} :catch_0

    :catch_0
    :goto_2
    return-void
.end method

.method public static a(Landroid/app/Activity;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Runnable;Z)V
    .locals 8

    .line 12
    invoke-static {p0}, Lcom/estrongs/fs/f;->a(Landroid/content/Context;)Lcom/estrongs/fs/f;

    move-result-object v1

    .line 13
    new-instance v0, Ljava/io/File;

    invoke-direct {v0, p2}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Ljava/io/File;->getParentFile()Ljava/io/File;

    move-result-object v6

    .line 14
    invoke-virtual {v6}, Ljava/io/File;->exists()Z

    move-result v0

    if-nez v0, :cond_0

    .line 15
    invoke-virtual {v6}, Ljava/io/File;->mkdirs()Z

    :cond_0
    if-nez p3, :cond_1

    .line 16
    new-instance p3, Lcom/estrongs/android/pop/view/utils/b$b;

    invoke-direct {p3, p0, p2}, Lcom/estrongs/android/pop/view/utils/b$b;-><init>(Landroid/app/Activity;Ljava/lang/String;)V

    :cond_1
    move-object v7, p3

    .line 17
    new-instance p3, Lcom/estrongs/android/pop/view/utils/b$c;

    move-object v0, p3

    move-object v2, p1

    move-object v3, p0

    move-object v4, p2

    move v5, p4

    invoke-direct/range {v0 .. v7}, Lcom/estrongs/android/pop/view/utils/b$c;-><init>(Lcom/estrongs/fs/f;Ljava/lang/String;Landroid/app/Activity;Ljava/lang/String;ZLjava/io/File;Ljava/lang/Runnable;)V

    invoke-static {p3}, Lcom/estrongs/android/util/o;->a(Ljava/lang/Runnable;)V

    return-void
.end method

.method public static a(Landroid/app/Activity;Ljava/lang/String;Ljava/lang/String;Z)V
    .locals 2

    .line 21
    new-instance v0, Lcom/estrongs/android/util/TypedMap;

    invoke-direct {v0}, Lcom/estrongs/android/util/TypedMap;-><init>()V

    .line 22
    invoke-static {p3}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object p3

    const-string v1, "by_open_as"

    invoke-virtual {v0, v1, p3}, Lcom/estrongs/android/util/TypedMap;->put(Ljava/lang/String;Ljava/lang/Object;)Lcom/estrongs/android/util/TypedMap;

    .line 23
    invoke-static {p0, p1, p2, v0}, Lcom/estrongs/android/pop/view/utils/b;->a(Landroid/app/Activity;Ljava/lang/String;Ljava/lang/String;Lcom/estrongs/android/util/TypedMap;)V

    return-void
.end method

.method static synthetic a(Landroid/app/Activity;Ljava/lang/String;Z)V
    .locals 0

    .line 7
    invoke-static {p0, p1, p2}, Lcom/estrongs/android/pop/view/utils/b;->b(Landroid/app/Activity;Ljava/lang/String;Z)V

    return-void
.end method

.method static synthetic a(Landroid/app/Activity;Ljava/lang/String;ZZ)V
    .locals 0

    .line 5
    invoke-static {p0, p1, p2, p3}, Lcom/estrongs/android/pop/view/utils/b;->b(Landroid/app/Activity;Ljava/lang/String;ZZ)V

    return-void
.end method

.method public static a(Landroid/app/Activity;Ljava/util/List;Ljava/util/List;)V
    .locals 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/app/Activity;",
            "Ljava/util/List<",
            "Ljava/lang/String;",
            ">;",
            "Ljava/util/List<",
            "Les/a20;",
            ">;)V"
        }
    .end annotation

    .line 123
    instance-of v0, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity;

    const/4 v1, 0x0

    if-eqz v0, :cond_0

    .line 124
    move-object v0, p0

    check-cast v0, Lcom/estrongs/android/pop/view/FileExplorerActivity;

    .line 125
    invoke-virtual {v0}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->V()Z

    move-result v0

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    .line 126
    :goto_0
    invoke-static {p0, v1}, Lcom/estrongs/fs/impl/local/j;->a(Landroid/content/Context;Z)Z

    move-result v2

    const-string v3, "notification"

    .line 127
    invoke-virtual {p0, v3}, Landroid/app/Activity;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Landroid/app/NotificationManager;

    if-eqz v2, :cond_2

    .line 128
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object v4

    invoke-virtual {v4}, Lcom/estrongs/android/pop/l;->b1()Z

    move-result v4

    if-nez v4, :cond_1

    if-eqz v0, :cond_2

    .line 129
    :cond_1
    new-instance v0, Lcom/estrongs/android/pop/view/utils/b$g;

    invoke-direct {v0, p1, p0, p2, v3}, Lcom/estrongs/android/pop/view/utils/b$g;-><init>(Ljava/util/List;Landroid/app/Activity;Ljava/util/List;Landroid/app/NotificationManager;)V

    invoke-static {v0}, Lcom/estrongs/android/util/o;->a(Ljava/lang/Runnable;)V

    goto :goto_3

    .line 130
    :cond_2
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    .line 131
    :goto_1
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v4

    if-ge v1, v4, :cond_4

    if-eqz p2, :cond_3

    .line 132
    invoke-interface {p2, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Les/a20;

    if-eqz v2, :cond_3

    .line 133
    invoke-virtual {v4}, Les/a20;->s()Z

    move-result v5

    if-eqz v5, :cond_3

    .line 134
    invoke-interface {v0, v4}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_2

    .line 135
    :cond_3
    invoke-interface {p1, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Ljava/lang/String;

    invoke-static {p0, v4}, Lcom/estrongs/android/pop/view/utils/b;->f(Landroid/app/Activity;Ljava/lang/String;)V

    :goto_2
    add-int/lit8 v1, v1, 0x1

    goto :goto_1

    .line 136
    :cond_4
    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result p1

    if-lez p1, :cond_5

    .line 137
    new-instance p1, Lcom/estrongs/android/pop/view/utils/b$h;

    invoke-direct {p1, v0, p0, v3}, Lcom/estrongs/android/pop/view/utils/b$h;-><init>(Ljava/util/List;Landroid/app/Activity;Landroid/app/NotificationManager;)V

    invoke-static {p1}, Lcom/estrongs/android/util/o;->a(Ljava/lang/Runnable;)V

    :cond_5
    :goto_3
    return-void
.end method

.method public static a(Landroid/app/Activity;Ljava/util/List;Ljava/util/List;Ljava/util/List;)V
    .locals 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/app/Activity;",
            "Ljava/util/List<",
            "Ljava/lang/String;",
            ">;",
            "Ljava/util/List<",
            "Ljava/lang/String;",
            ">;",
            "Ljava/util/List<",
            "Ljava/lang/Boolean;",
            ">;)V"
        }
    .end annotation

    .line 138
    instance-of v0, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity;

    const/4 v1, 0x0

    if-eqz v0, :cond_0

    .line 139
    move-object v0, p0

    check-cast v0, Lcom/estrongs/android/pop/view/FileExplorerActivity;

    .line 140
    invoke-virtual {v0}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->W()Z

    move-result v0

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    .line 141
    :goto_0
    invoke-static {p0, v1}, Lcom/estrongs/fs/impl/local/j;->a(Landroid/content/Context;Z)Z

    move-result v2

    if-eqz p3, :cond_1

    const/4 v3, 0x1

    goto :goto_1

    :cond_1
    const/4 v3, 0x0

    :goto_1
    if-eqz v2, :cond_3

    .line 142
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object v2

    invoke-virtual {v2}, Lcom/estrongs/android/pop/l;->b1()Z

    move-result v2

    if-nez v2, :cond_2

    if-nez v0, :cond_2

    if-eqz v3, :cond_3

    .line 143
    :cond_2
    new-instance v0, Lcom/estrongs/android/pop/view/utils/b$i;

    invoke-direct {v0, p0, p1, p2, p3}, Lcom/estrongs/android/pop/view/utils/b$i;-><init>(Landroid/app/Activity;Ljava/util/List;Ljava/util/List;Ljava/util/List;)V

    invoke-static {v0}, Lcom/estrongs/android/util/o;->a(Ljava/lang/Runnable;)V

    goto :goto_3

    .line 144
    :cond_3
    :goto_2
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result p2

    if-ge v1, p2, :cond_4

    .line 145
    new-instance p2, Ljava/lang/StringBuilder;

    invoke-direct {p2}, Ljava/lang/StringBuilder;-><init>()V

    const-string p3, "package:"

    invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-interface {p1, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p3

    check-cast p3, Ljava/lang/String;

    invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p2

    invoke-static {p2}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object p2

    .line 146
    new-instance p3, Landroid/content/Intent;

    const-string v0, "android.intent.action.DELETE"

    invoke-direct {p3, v0, p2}, Landroid/content/Intent;-><init>(Ljava/lang/String;Landroid/net/Uri;)V

    .line 147
    invoke-virtual {p0, p3}, Landroid/app/Activity;->startActivity(Landroid/content/Intent;)V

    add-int/lit8 v1, v1, 0x1

    goto :goto_2

    :cond_4
    :goto_3
    return-void
.end method

.method static synthetic a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;IZ)V
    .locals 0

    .line 3
    invoke-static {p0, p1, p2, p3, p4}, Lcom/estrongs/android/pop/view/utils/b;->b(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;IZ)V

    return-void
.end method

.method public static a(Landroid/content/Intent;I)V
    .locals 1

    .line 148
    invoke-virtual {p0}, Landroid/content/Intent;->getFlags()I

    move-result v0

    xor-int/2addr p1, v0

    invoke-virtual {p0, p1}, Landroid/content/Intent;->setFlags(I)Landroid/content/Intent;

    return-void
.end method

.method public static a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZJLjava/lang/String;)V
    .locals 2

    .line 149
    :try_start_0
    invoke-static {p0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_0

    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_0

    .line 150
    new-instance v0, Lorg/json/JSONObject;

    invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V

    const-string v1, "extName"

    .line 151
    invoke-virtual {v0, v1, p0}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string p0, "package"

    .line 152
    invoke-virtual {v0, p0, p1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string p0, "activity"

    .line 153
    invoke-virtual {v0, p0, p2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string p0, "isDefault"

    .line 154
    invoke-virtual {v0, p0, p3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Z)Lorg/json/JSONObject;

    const-string p0, "size"

    .line 155
    invoke-virtual {v0, p0, p4, p5}, Lorg/json/JSONObject;->put(Ljava/lang/String;J)Lorg/json/JSONObject;

    const-string p0, "ver"

    .line 156
    invoke-virtual {v0, p0, p6}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    .line 157
    invoke-static {}, Lcom/estrongs/android/statistics/b;->b()Lcom/estrongs/android/statistics/b;

    move-result-object p0

    const-string p1, "open_file_select"

    invoke-virtual {p0, p1, v0}, Lcom/estrongs/android/statistics/b;->c(Ljava/lang/String;Lorg/json/JSONObject;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :catch_0
    :cond_0
    return-void
.end method

.method static synthetic a(Landroid/app/Activity;Ljava/lang/String;Les/a20;)Z
    .locals 0

    .line 4
    invoke-static {p0, p1, p2}, Lcom/estrongs/android/pop/view/utils/b;->c(Landroid/app/Activity;Ljava/lang/String;Les/a20;)Z

    move-result p0

    return p0
.end method

.method private static a(Ljava/lang/String;)Z
    .locals 1

    .line 8
    invoke-static {p0}, Lcom/estrongs/android/util/n0;->N(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_1

    .line 9
    invoke-static {p0}, Lcom/estrongs/android/util/n0;->z(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_1

    .line 10
    invoke-static {p0}, Lcom/estrongs/android/util/n0;->k(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_1

    .line 11
    invoke-static {p0}, Lcom/estrongs/android/util/n0;->Q(Ljava/lang/String;)Z

    move-result p0

    if-eqz p0, :cond_0

    goto :goto_0

    :cond_0
    const/4 p0, 0x0

    goto :goto_1

    :cond_1
    :goto_0
    const/4 p0, 0x1

    :goto_1
    return p0
.end method

.method public static b(Landroid/app/Activity;Ljava/lang/String;)Landroid/content/Intent;
    .locals 4

    const/4 v0, 0x0

    .line 86
    :try_start_0
    invoke-static {p1}, Lcom/estrongs/fs/util/f;->i(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    .line 87
    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_0

    return-object v0

    .line 88
    :cond_0
    new-instance v1, Landroid/content/Intent;

    const-string v2, "android.intent.action.VIEW"

    invoke-direct {v1, v2}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    const/high16 v2, 0x10000000

    .line 89
    invoke-virtual {v1, v2}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

    .line 90
    invoke-static {p1}, Lcom/estrongs/android/util/n0;->d(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    .line 91
    new-instance v3, Ljava/io/File;

    invoke-direct {v3, p1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-static {p0, v3}, Lcom/estrongs/android/util/l;->a(Landroid/content/Context;Ljava/io/File;)Landroid/net/Uri;

    move-result-object p1

    .line 92
    invoke-virtual {v1, p1, v2}, Landroid/content/Intent;->setDataAndType(Landroid/net/Uri;Ljava/lang/String;)Landroid/content/Intent;

    .line 93
    invoke-static {p0, v1}, Lcom/estrongs/android/pop/view/utils/c;->a(Landroid/content/Context;Landroid/content/Intent;)[Lcom/estrongs/android/pop/view/utils/c$a;

    move-result-object p0

    if-eqz p0, :cond_2

    .line 94
    array-length p0, p0
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    if-nez p0, :cond_1

    goto :goto_0

    :cond_1
    return-object v1

    :catch_0
    :cond_2
    :goto_0
    return-object v0
.end method

.method static b(Ljava/lang/String;)Ljava/lang/String;
    .locals 4

    .line 2
    invoke-static {p0}, Lcom/estrongs/android/util/h0;->y(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    const/16 v1, 0x2e

    .line 3
    invoke-virtual {v0, v1}, Ljava/lang/String;->lastIndexOf(I)I

    move-result v1

    const-string v2, "_"

    const/4 v3, -0x1

    if-ne v1, v3, :cond_0

    .line 4
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p0}, Ljava/lang/String;->hashCode()I

    move-result p0

    invoke-virtual {v1, p0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p0

    return-object p0

    :cond_0
    const/4 v3, 0x0

    .line 5
    invoke-virtual {v0, v3, v1}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v3

    .line 6
    invoke-virtual {v0, v1}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object v0

    .line 7
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p0}, Ljava/lang/String;->hashCode()I

    move-result p0

    invoke-virtual {v1, p0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p0

    return-object p0
.end method

.method static synthetic b(Landroid/app/Activity;Ljava/lang/String;IZ)V
    .locals 0

    .line 1
    invoke-static {p0, p1, p2, p3}, Lcom/estrongs/android/pop/view/utils/b;->d(Landroid/app/Activity;Ljava/lang/String;IZ)V

    return-void
.end method

.method public static b(Landroid/app/Activity;Ljava/lang/String;Les/a20;)V
    .locals 1

    .line 108
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    .line 109
    invoke-interface {v0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    if-eqz p2, :cond_0

    .line 110
    new-instance p1, Ljava/util/ArrayList;

    invoke-direct {p1}, Ljava/util/ArrayList;-><init>()V

    .line 111
    invoke-interface {p1, p2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 112
    invoke-static {p0, v0, p1}, Lcom/estrongs/android/pop/view/utils/b;->a(Landroid/app/Activity;Ljava/util/List;Ljava/util/List;)V

    goto :goto_0

    :cond_0
    const/4 p1, 0x0

    .line 113
    invoke-static {p0, v0, p1}, Lcom/estrongs/android/pop/view/utils/b;->a(Landroid/app/Activity;Ljava/util/List;Ljava/util/List;)V

    :goto_0
    return-void
.end method

.method private static b(Landroid/app/Activity;Ljava/lang/String;Ljava/lang/String;)V
    .locals 3

    if-eqz p2, :cond_f

    .line 8
    invoke-virtual {p2}, Ljava/lang/String;->length()I

    move-result v0

    if-nez v0, :cond_0

    goto/16 :goto_3

    .line 9
    :cond_0
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->c(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    .line 10
    invoke-static {p2}, Lcom/estrongs/android/util/h0;->c(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p2

    .line 11
    invoke-static {p2}, Lcom/estrongs/android/util/n0;->b(Ljava/lang/String;)I

    move-result v0

    const-string v1, ".3gp"

    .line 12
    invoke-virtual {p2, v1}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v1

    const/4 v2, 0x0

    if-nez v1, :cond_d

    const-string v1, ".3gpp"

    invoke-virtual {p2, v1}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_1

    goto/16 :goto_2

    .line 13
    :cond_1
    invoke-static {v0}, Lcom/estrongs/android/util/n0;->p(I)Z

    move-result v1

    if-eqz v1, :cond_2

    .line 14
    invoke-static {p0, p1, p2, v2}, Lcom/estrongs/android/pop/view/utils/b;->a(Landroid/app/Activity;Ljava/lang/String;Ljava/lang/String;Z)V

    goto/16 :goto_1

    .line 15
    :cond_2
    invoke-static {v0}, Lcom/estrongs/android/util/n0;->e(I)Z

    move-result v1

    if-eqz v1, :cond_3

    .line 16
    invoke-static {p0, p2, v0, v2}, Lcom/estrongs/android/pop/view/utils/b;->c(Landroid/app/Activity;Ljava/lang/String;IZ)V

    goto/16 :goto_1

    .line 17
    :cond_3
    invoke-static {v0}, Lcom/estrongs/android/util/n0;->E(I)Z

    move-result v1

    if-eqz v1, :cond_4

    .line 18
    invoke-static {p0, p2, v0, v2}, Lcom/estrongs/android/pop/view/utils/b;->d(Landroid/app/Activity;Ljava/lang/String;IZ)V

    goto/16 :goto_1

    .line 19
    :cond_4
    invoke-static {p2}, Lcom/estrongs/android/util/n0;->N(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_5

    .line 20
    invoke-static {p0, p2, v2, v2}, Lcom/estrongs/android/pop/view/utils/b;->b(Landroid/app/Activity;Ljava/lang/String;ZZ)V

    goto/16 :goto_1

    .line 21
    :cond_5
    invoke-static {p2}, Lcom/estrongs/android/util/n0;->T(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_6

    invoke-static {p2}, Lcom/estrongs/android/util/n0;->V(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_6

    const/4 p1, 0x0

    .line 22
    invoke-static {p0, p2, p1}, Lcom/estrongs/android/pop/view/utils/b;->a(Landroid/app/Activity;Ljava/lang/String;Ljava/lang/Class;)V

    goto/16 :goto_1

    .line 23
    :cond_6
    invoke-static {v0}, Lcom/estrongs/android/util/n0;->d(I)Z

    move-result v1

    if-eqz v1, :cond_7

    .line 24
    invoke-static {p0, p2}, Lcom/estrongs/android/pop/view/utils/b;->d(Landroid/app/Activity;Ljava/lang/String;)V

    goto/16 :goto_1

    .line 25
    :cond_7
    invoke-static {v0}, Lcom/estrongs/android/util/n0;->w(I)Z

    move-result v1

    if-nez v1, :cond_c

    .line 26
    invoke-static {v0}, Lcom/estrongs/android/util/n0;->x(I)Z

    move-result v1

    if-nez v1, :cond_c

    .line 27
    invoke-static {v0}, Lcom/estrongs/android/util/n0;->l(I)Z

    move-result v1

    if-nez v1, :cond_c

    .line 28
    invoke-static {v0}, Lcom/estrongs/android/util/n0;->F(I)Z

    move-result v1

    if-nez v1, :cond_c

    .line 29
    invoke-static {v0}, Lcom/estrongs/android/util/n0;->m(I)Z

    move-result v1

    if-nez v1, :cond_c

    .line 30
    invoke-static {v0}, Lcom/estrongs/android/util/n0;->A(I)Z

    move-result v1

    if-nez v1, :cond_c

    .line 31
    invoke-static {v0}, Lcom/estrongs/android/util/n0;->v(I)Z

    move-result v1

    if-nez v1, :cond_c

    .line 32
    invoke-static {v0}, Lcom/estrongs/android/util/n0;->k(I)Z

    move-result v1

    if-nez v1, :cond_c

    .line 33
    invoke-static {v0}, Lcom/estrongs/android/util/n0;->s(I)Z

    move-result v1

    if-nez v1, :cond_c

    .line 34
    invoke-static {v0}, Lcom/estrongs/android/util/n0;->h(I)Z

    move-result v1

    if-nez v1, :cond_c

    .line 35
    invoke-static {v0}, Lcom/estrongs/android/util/n0;->o(I)Z

    move-result v1

    if-nez v1, :cond_c

    .line 36
    invoke-static {v0}, Lcom/estrongs/android/util/n0;->f(I)Z

    move-result v1

    if-nez v1, :cond_c

    .line 37
    invoke-static {v0}, Lcom/estrongs/android/util/n0;->g(I)Z

    move-result v1

    if-nez v1, :cond_c

    .line 38
    invoke-static {v0}, Lcom/estrongs/android/util/n0;->u(I)Z

    move-result v1

    if-nez v1, :cond_c

    .line 39
    invoke-static {v0}, Lcom/estrongs/android/util/n0;->C(I)Z

    move-result v1

    if-nez v1, :cond_c

    .line 40
    invoke-static {v0}, Lcom/estrongs/android/util/n0;->j(I)Z

    move-result v1

    if-nez v1, :cond_c

    .line 41
    invoke-static {v0}, Lcom/estrongs/android/util/n0;->y(I)Z

    move-result v1

    if-nez v1, :cond_c

    .line 42
    invoke-static {v0}, Lcom/estrongs/android/util/n0;->n(I)Z

    move-result v0

    if-eqz v0, :cond_8

    goto :goto_0

    .line 43
    :cond_8
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->U1(Ljava/lang/String;)Z

    move-result p1

    if-eqz p1, :cond_9

    const p1, 0x7f11012b

    .line 44
    invoke-static {p0, p1}, Lcom/estrongs/android/pop/utils/i;->b(Landroid/content/Context;I)V

    return-void

    .line 45
    :cond_9
    invoke-static {p0, p2}, Lcom/estrongs/android/pop/view/utils/b;->b(Landroid/app/Activity;Ljava/lang/String;)Landroid/content/Intent;

    move-result-object p1

    if-nez p1, :cond_b

    .line 46
    invoke-static {p2}, Lcom/estrongs/android/util/h0;->y(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    invoke-static {p0, p1}, Lcom/estrongs/android/pop/view/utils/b;->a(Landroid/app/Activity;Ljava/lang/String;)Lcom/estrongs/android/pop/view/utils/c$c;

    move-result-object p1

    if-eqz p1, :cond_a

    .line 47
    new-instance p1, Landroid/content/Intent;

    const-string v0, "android.intent.action.VIEW"

    invoke-direct {p1, v0}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    const/high16 v0, 0x10000000

    .line 48
    invoke-virtual {p1, v0}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

    .line 49
    new-instance v0, Ljava/io/File;

    invoke-direct {v0, p2}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-static {p0, v0}, Lcom/estrongs/android/util/l;->a(Landroid/content/Context;Ljava/io/File;)Landroid/net/Uri;

    move-result-object v0

    .line 50
    invoke-virtual {p1, v0}, Landroid/content/Intent;->setData(Landroid/net/Uri;)Landroid/content/Intent;

    .line 51
    invoke-static {p0, p1, p2}, Lcom/estrongs/android/pop/view/utils/b;->a(Landroid/app/Activity;Landroid/content/Intent;Ljava/lang/String;)V

    goto :goto_1

    .line 52
    :cond_a
    new-instance p1, Lcom/estrongs/android/pop/view/utils/b$f;

    invoke-direct {p1, p0, p2}, Lcom/estrongs/android/pop/view/utils/b$f;-><init>(Landroid/app/Activity;Ljava/lang/String;)V

    invoke-virtual {p0, p1}, Landroid/app/Activity;->runOnUiThread(Ljava/lang/Runnable;)V

    goto :goto_1

    .line 53
    :cond_b
    invoke-static {p0, p1, p2}, Lcom/estrongs/android/pop/view/utils/b;->a(Landroid/app/Activity;Landroid/content/Intent;Ljava/lang/String;)V

    goto :goto_1

    .line 54
    :cond_c
    :goto_0
    invoke-static {p2}, Lcom/estrongs/android/util/n0;->d(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    invoke-static {p0, p2, p1}, Lcom/estrongs/android/pop/view/utils/b;->c(Landroid/app/Activity;Ljava/lang/String;Ljava/lang/String;)V

    :goto_1
    return-void

    .line 55
    :cond_d
    :goto_2
    invoke-static {p2}, Lcom/estrongs/android/pop/view/utils/b;->d(Ljava/lang/String;)Z

    move-result p1

    if-eqz p1, :cond_e

    .line 56
    invoke-static {p0, p2, v0, v2}, Lcom/estrongs/android/pop/view/utils/b;->d(Landroid/app/Activity;Ljava/lang/String;IZ)V

    goto :goto_3

    .line 57
    :cond_e
    invoke-static {p0, p2, v0, v2}, Lcom/estrongs/android/pop/view/utils/b;->c(Landroid/app/Activity;Ljava/lang/String;IZ)V

    :cond_f
    :goto_3
    return-void
.end method

.method private static b(Landroid/app/Activity;Ljava/lang/String;Z)V
    .locals 3

    .line 79
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->U1(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    return-void

    .line 80
    :cond_0
    new-instance v0, Landroid/content/Intent;

    const-string v1, "android.intent.action.VIEW"

    invoke-direct {v0, v1}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    const/high16 v1, 0x10000000

    .line 81
    invoke-virtual {v0, v1}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

    .line 82
    new-instance v1, Ljava/io/File;

    invoke-direct {v1, p1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-static {p0, v1}, Lcom/estrongs/android/util/l;->a(Landroid/content/Context;Ljava/io/File;)Landroid/net/Uri;

    move-result-object v1

    const-string v2, "*/*"

    .line 83
    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->setDataAndType(Landroid/net/Uri;Ljava/lang/String;)Landroid/content/Intent;

    const-string v1, "by_open_as"

    .line 84
    invoke-virtual {v0, v1, p2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    .line 85
    invoke-static {p0, v0, p1}, Lcom/estrongs/android/pop/view/utils/b;->a(Landroid/app/Activity;Landroid/content/Intent;Ljava/lang/String;)V

    return-void
.end method

.method private static b(Landroid/app/Activity;Ljava/lang/String;ZZ)V
    .locals 6

    if-eqz p0, :cond_5

    .line 58
    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_0

    goto :goto_0

    .line 59
    :cond_0
    invoke-static {p1}, Lcom/estrongs/android/util/n0;->d(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    const-string v1, "*/*"

    .line 60
    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_1

    const-string v1, "text/"

    invoke-virtual {v0, v1}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_2

    :cond_1
    const-string v0, "text/*"

    .line 61
    :cond_2
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->U1(Ljava/lang/String;)Z

    move-result v1

    const/4 v2, 0x1

    const-string v3, "islocalopen"

    const-string v4, "by_open_as"

    const-string v5, "android.intent.action.VIEW"

    if-eqz v1, :cond_3

    .line 62
    new-instance p2, Landroid/content/Intent;

    invoke-direct {p2, v5}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    const/high16 v1, 0x4000000

    .line 63
    invoke-virtual {p2, v1}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

    .line 64
    invoke-virtual {p2, v3, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    .line 65
    invoke-virtual {p2, v4, p3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    .line 66
    const-class p3, Lcom/estrongs/android/pop/app/editor/SimplePopNoteEditor;

    invoke-virtual {p2, p0, p3}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;

    .line 67
    invoke-static {p1}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object p1

    invoke-virtual {p2, p1, v0}, Landroid/content/Intent;->setDataAndType(Landroid/net/Uri;Ljava/lang/String;)Landroid/content/Intent;

    .line 68
    invoke-virtual {p0, p2}, Landroid/app/Activity;->startActivity(Landroid/content/Intent;)V

    goto :goto_0

    .line 69
    :cond_3
    new-instance v1, Landroid/content/Intent;

    invoke-direct {v1, v5}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    const/high16 v5, 0x10000000

    .line 70
    invoke-virtual {v1, v5}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

    .line 71
    invoke-virtual {v1, v4, p3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    .line 72
    invoke-virtual {v1, v3, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    if-eqz p2, :cond_4

    .line 73
    invoke-static {p1}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object p1

    invoke-virtual {v1, p1, v0}, Landroid/content/Intent;->setDataAndType(Landroid/net/Uri;Ljava/lang/String;)Landroid/content/Intent;

    .line 74
    const-class p1, Lcom/estrongs/android/pop/app/editor/PopNoteEditor;

    invoke-virtual {v1, p0, p1}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;

    .line 75
    invoke-virtual {p0, v1}, Landroid/app/Activity;->startActivity(Landroid/content/Intent;)V

    return-void

    .line 76
    :cond_4
    new-instance p2, Ljava/io/File;

    invoke-direct {p2, p1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-static {p0, p2}, Lcom/estrongs/android/util/l;->a(Landroid/content/Context;Ljava/io/File;)Landroid/net/Uri;

    move-result-object p2

    .line 77
    invoke-virtual {v1, p2, v0}, Landroid/content/Intent;->setDataAndType(Landroid/net/Uri;Ljava/lang/String;)Landroid/content/Intent;

    .line 78
    invoke-static {p0, v1, p1}, Lcom/estrongs/android/pop/view/utils/b;->a(Landroid/app/Activity;Landroid/content/Intent;Ljava/lang/String;)V

    :cond_5
    :goto_0
    return-void
.end method

.method public static b(Landroid/app/Activity;Ljava/util/List;Ljava/util/List;)V
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/app/Activity;",
            "Ljava/util/List<",
            "Ljava/lang/String;",
            ">;",
            "Ljava/util/List<",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation

    const/4 v0, 0x0

    .line 114
    invoke-static {p0, p1, p2, v0}, Lcom/estrongs/android/pop/view/utils/b;->a(Landroid/app/Activity;Ljava/util/List;Ljava/util/List;Ljava/util/List;)V

    return-void
.end method

.method private static b(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;IZ)V
    .locals 3

    :try_start_0
    const-string v0, "notification"

    .line 95
    invoke-virtual {p0, v0}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/app/NotificationManager;

    if-eqz v0, :cond_0

    .line 96
    new-instance v1, Landroid/content/Intent;

    const-class v2, Lcom/estrongs/android/pop/view/utils/b$k;

    invoke-direct {v1, p0, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const/4 v2, 0x0

    .line 97
    invoke-static {p0, v2, v1, v2}, Landroid/app/PendingIntent;->getActivity(Landroid/content/Context;ILandroid/content/Intent;I)Landroid/app/PendingIntent;

    move-result-object v1

    .line 98
    new-instance v2, Landroid/app/Notification$Builder;

    invoke-direct {v2, p0}, Landroid/app/Notification$Builder;-><init>(Landroid/content/Context;)V

    .line 99
    invoke-virtual {v2, p1}, Landroid/app/Notification$Builder;->setContentTitle(Ljava/lang/CharSequence;)Landroid/app/Notification$Builder;

    move-result-object p1

    .line 100
    invoke-virtual {p1, p2}, Landroid/app/Notification$Builder;->setContentText(Ljava/lang/CharSequence;)Landroid/app/Notification$Builder;

    move-result-object p1

    .line 101
    invoke-virtual {p1, v1}, Landroid/app/Notification$Builder;->setContentIntent(Landroid/app/PendingIntent;)Landroid/app/Notification$Builder;

    move-result-object p1

    const p2, 0x7f0800a4

    .line 102
    invoke-virtual {p1, p2}, Landroid/app/Notification$Builder;->setSmallIcon(I)Landroid/app/Notification$Builder;

    move-result-object p1

    .line 103
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v1

    invoke-virtual {p1, v1, v2}, Landroid/app/Notification$Builder;->setWhen(J)Landroid/app/Notification$Builder;

    move-result-object p1

    new-instance p2, Ljava/lang/StringBuilder;

    invoke-direct {p2}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "ES "

    invoke-virtual {p2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const v1, 0x7f11020f

    .line 104
    invoke-virtual {p0, v1}, Landroid/content/Context;->getText(I)Ljava/lang/CharSequence;

    move-result-object p0

    invoke-virtual {p2, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    invoke-virtual {p2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p0

    invoke-virtual {p1, p0}, Landroid/app/Notification$Builder;->setTicker(Ljava/lang/CharSequence;)Landroid/app/Notification$Builder;

    move-result-object p0

    .line 105
    invoke-virtual {p0, p4}, Landroid/app/Notification$Builder;->setOngoing(Z)Landroid/app/Notification$Builder;

    move-result-object p0

    .line 106
    invoke-virtual {p0}, Landroid/app/Notification$Builder;->getNotification()Landroid/app/Notification;

    move-result-object p0

    .line 107
    invoke-virtual {v0, p3, p0}, Landroid/app/NotificationManager;->notify(ILandroid/app/Notification;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :catch_0
    :cond_0
    return-void
.end method

.method public static c(Landroid/app/Activity;Ljava/lang/String;)V
    .locals 1

    const/4 v0, 0x0

    .line 39
    invoke-static {p0, p1, v0}, Lcom/estrongs/android/pop/view/utils/b;->b(Landroid/app/Activity;Ljava/lang/String;Les/a20;)V

    return-void
.end method

.method private static c(Landroid/app/Activity;Ljava/lang/String;IZ)V
    .locals 10

    .line 1
    :try_start_0
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->U1(Ljava/lang/String;)Z

    move-result v0
    :try_end_0
    .catch Landroid/content/ActivityNotFoundException; {:try_start_0 .. :try_end_0} :catch_0
    .catch Ljava/lang/NullPointerException; {:try_start_0 .. :try_end_0} :catch_0

    const-string v1, "islocalopen"

    const/4 v2, 0x0

    const-string v3, "configchange"

    const-string v4, "oneshot"

    const-string v5, "android.intent.action.VIEW"

    const-string v6, "by_open_as"

    const/high16 v7, 0x4000000

    const/4 v8, 0x1

    if-eqz v0, :cond_4

    .line 2
    :try_start_1
    invoke-static {}, Les/ij;->g()Z

    move-result v0

    if-nez v0, :cond_0

    const p1, 0x7f110a39

    .line 3
    invoke-static {p0, p1, v8}, Lcom/estrongs/android/ui/view/d;->a(Landroid/content/Context;II)V

    return-void

    .line 4
    :cond_0
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->U(Ljava/lang/String;)I

    move-result v0

    const/4 v9, 0x3

    if-eq v0, v9, :cond_3

    .line 5
    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0, v5}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    .line 6
    invoke-virtual {v0, v7}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

    .line 7
    invoke-virtual {v0, v4, v8}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    .line 8
    invoke-virtual {v0, v3, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    .line 9
    invoke-virtual {v0, v6, p3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    .line 10
    invoke-virtual {v0, v1, v8}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    .line 11
    invoke-static {p1, v8}, Lcom/estrongs/android/util/h0;->a(Ljava/lang/String;Z)Ljava/lang/String;

    move-result-object p3

    if-nez p3, :cond_1

    return-void

    .line 12
    :cond_1
    invoke-static {p3}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object p3

    .line 13
    invoke-static {p1}, Les/a70;->b(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_2

    .line 14
    invoke-static {p1}, Lcom/estrongs/android/util/n0;->d(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p2

    invoke-virtual {v0, p3, p2}, Landroid/content/Intent;->setDataAndType(Landroid/net/Uri;Ljava/lang/String;)Landroid/content/Intent;

    goto :goto_0

    .line 15
    :cond_2
    invoke-static {p2}, Lcom/estrongs/android/util/n0;->a(I)Ljava/lang/String;

    move-result-object p2

    invoke-virtual {v0, p3, p2}, Landroid/content/Intent;->setDataAndType(Landroid/net/Uri;Ljava/lang/String;)Landroid/content/Intent;

    .line 16
    :goto_0
    invoke-static {p0, v0, p1}, Lcom/estrongs/android/pop/view/utils/b;->a(Landroid/app/Activity;Landroid/content/Intent;Ljava/lang/String;)V

    goto :goto_1

    .line 17
    :cond_3
    new-instance p2, Landroid/content/Intent;

    const-class v0, Lcom/estrongs/android/pop/app/StreamingMediaPlayer;

    invoke-direct {p2, p0, v0}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 18
    invoke-virtual {p2, v7}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

    .line 19
    invoke-static {p1}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object p1

    invoke-virtual {p2, p1}, Landroid/content/Intent;->setData(Landroid/net/Uri;)Landroid/content/Intent;

    .line 20
    invoke-virtual {p2, v6, p3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    .line 21
    invoke-virtual {p0, p2}, Landroid/app/Activity;->startActivity(Landroid/content/Intent;)V

    goto :goto_1

    .line 22
    :cond_4
    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0, v5}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    .line 23
    invoke-virtual {v0, v7}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

    .line 24
    invoke-virtual {v0, v4, v8}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    .line 25
    invoke-virtual {v0, v3, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    .line 26
    invoke-virtual {v0, v6, p3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    .line 27
    invoke-virtual {v0, v1, v8}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    .line 28
    invoke-static {p1}, Lcom/estrongs/android/pop/app/FileContentProvider;->b(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v1

    .line 29
    invoke-static {p2}, Lcom/estrongs/android/util/n0;->a(I)Ljava/lang/String;

    move-result-object p2

    if-eqz p2, :cond_5

    if-nez p3, :cond_5

    const-string p3, "audio/"

    .line 30
    invoke-virtual {p2, p3}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result p3

    if-nez p3, :cond_6

    :cond_5
    const-string p2, "audio/*"

    .line 31
    :cond_6
    invoke-virtual {v0, v1, p2}, Landroid/content/Intent;->setDataAndType(Landroid/net/Uri;Ljava/lang/String;)Landroid/content/Intent;

    .line 32
    invoke-static {p0, v0, p1}, Lcom/estrongs/android/pop/view/utils/b;->a(Landroid/app/Activity;Landroid/content/Intent;Ljava/lang/String;)V
    :try_end_1
    .catch Landroid/content/ActivityNotFoundException; {:try_start_1 .. :try_end_1} :catch_0
    .catch Ljava/lang/NullPointerException; {:try_start_1 .. :try_end_1} :catch_0

    :catch_0
    :goto_1
    return-void
.end method

.method private static c(Landroid/app/Activity;Ljava/lang/String;Ljava/lang/String;)V
    .locals 2

    .line 33
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->U1(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    return-void

    .line 34
    :cond_0
    new-instance v0, Landroid/content/Intent;

    const-string v1, "android.intent.action.VIEW"

    invoke-direct {v0, v1}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    const/high16 v1, 0x10000000

    .line 35
    invoke-virtual {v0, v1}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

    .line 36
    new-instance v1, Ljava/io/File;

    invoke-direct {v1, p1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-static {p0, v1}, Lcom/estrongs/android/util/l;->a(Landroid/content/Context;Ljava/io/File;)Landroid/net/Uri;

    move-result-object v1

    .line 37
    invoke-virtual {v0, v1, p2}, Landroid/content/Intent;->setDataAndType(Landroid/net/Uri;Ljava/lang/String;)Landroid/content/Intent;

    .line 38
    invoke-static {p0, v0, p1}, Lcom/estrongs/android/pop/view/utils/b;->a(Landroid/app/Activity;Landroid/content/Intent;Ljava/lang/String;)V

    return-void
.end method

.method private static c(Landroid/app/Activity;Ljava/lang/String;Les/a20;)Z
    .locals 4

    .line 40
    new-instance p0, Ljava/util/ArrayList;

    invoke-direct {p0}, Ljava/util/ArrayList;-><init>()V

    .line 41
    invoke-static {}, Lcom/estrongs/fs/f;->d()Lcom/estrongs/fs/f;

    move-result-object p1

    invoke-virtual {p2}, Lcom/estrongs/fs/a;->d()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p1, v0}, Lcom/estrongs/fs/f;->g(Ljava/lang/String;)Lcom/estrongs/fs/g;

    move-result-object p1

    .line 42
    invoke-virtual {p2}, Les/a20;->n()Ljava/lang/String;

    move-result-object v0

    const-string v1, "item_paste_name"

    if-eqz v0, :cond_0

    .line 43
    invoke-virtual {p2}, Les/a20;->n()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/estrongs/android/util/h0;->M(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 44
    invoke-virtual {p2}, Les/a20;->n()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Lcom/estrongs/android/util/h0;->y(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-interface {p1, v1, v2}, Lcom/estrongs/fs/g;->a(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;

    goto :goto_0

    :cond_0
    const-string v0, "/system/app/"

    .line 45
    :goto_0
    invoke-interface {p0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 46
    invoke-virtual {p2}, Les/a20;->p()Ljava/lang/String;

    move-result-object p1

    if-eqz p1, :cond_2

    .line 47
    invoke-static {}, Lcom/estrongs/fs/f;->d()Lcom/estrongs/fs/f;

    move-result-object p1

    invoke-virtual {p2}, Les/a20;->p()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {p1, v2}, Lcom/estrongs/fs/f;->g(Ljava/lang/String;)Lcom/estrongs/fs/g;

    move-result-object p1

    .line 48
    invoke-virtual {p2}, Les/a20;->q()Ljava/lang/String;

    move-result-object v2

    if-eqz v2, :cond_1

    .line 49
    invoke-virtual {p2}, Les/a20;->q()Ljava/lang/String;

    move-result-object p2

    invoke-static {p2}, Lcom/estrongs/android/util/h0;->y(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p2

    invoke-interface {p1, v1, p2}, Lcom/estrongs/fs/g;->a(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;

    .line 50
    :cond_1
    invoke-interface {p0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :cond_2
    const-string p1, "/system/"

    const-string p2, "rw"

    .line 51
    invoke-static {p1, p2}, Lcom/estrongs/fs/impl/local/j;->b(Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;

    move-result-object p1

    const/4 p2, 0x0

    if-eqz p1, :cond_4

    .line 52
    new-instance p1, Les/z60;

    invoke-static {}, Lcom/estrongs/fs/f;->d()Lcom/estrongs/fs/f;

    move-result-object v1

    new-instance v2, Lcom/estrongs/fs/impl/local/d;

    new-instance v3, Ljava/io/File;

    invoke-direct {v3, v0}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-direct {v2, v3}, Lcom/estrongs/fs/impl/local/d;-><init>(Ljava/io/File;)V

    invoke-direct {p1, v1, p0, v2}, Les/z60;-><init>(Lcom/estrongs/fs/f;Ljava/util/List;Lcom/estrongs/fs/g;)V

    .line 53
    const-class p0, Les/v80$f;

    invoke-virtual {p1, p0}, Les/s80;->a(Ljava/lang/Class;)Les/v80$c;

    move-result-object p0

    check-cast p0, Les/v80$f;

    const/4 v0, 0x2

    .line 54
    iput v0, p0, Les/v80$c;->c:I

    const/4 p0, 0x0

    .line 55
    invoke-virtual {p1, p0}, Les/s80;->a(Les/v80;)V

    .line 56
    invoke-virtual {p1, p2}, Les/s80;->b(Z)V

    .line 57
    invoke-virtual {p1}, Les/s80;->l()Les/u80;

    move-result-object p0

    iget p0, p0, Les/u80;->a:I

    if-eqz p0, :cond_3

    invoke-virtual {p1}, Les/s80;->l()Les/u80;

    move-result-object p0

    iget p0, p0, Les/u80;->a:I

    const/4 p1, 0x3

    if-ne p0, p1, :cond_4

    :cond_3
    const/4 p2, 0x1

    :cond_4
    return p2
.end method

.method public static c(Ljava/lang/String;)Z
    .locals 1

    const-string v0, "com.quickoffice.android"

    .line 58
    invoke-virtual {v0, p0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p0

    return p0
.end method

.method private static d(Landroid/app/Activity;Ljava/lang/String;)V
    .locals 5
    .param p0    # Landroid/app/Activity;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param

    if-eqz p1, :cond_2

    .line 96
    instance-of v0, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity;

    if-eqz v0, :cond_2

    .line 97
    move-object v0, p0

    check-cast v0, Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->b0()Ljava/lang/String;

    move-result-object v0

    .line 98
    invoke-static {v0}, Lcom/estrongs/android/util/h0;->X1(Ljava/lang/String;)Z

    move-result v1

    const-string v2, "sd"

    if-eqz v1, :cond_0

    move-object v0, v2

    goto :goto_0

    .line 99
    :cond_0
    invoke-static {v0}, Lcom/estrongs/android/util/h0;->A0(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1

    const-string v0, "lib"

    goto :goto_0

    :cond_1
    const-string v0, ""

    .line 100
    :goto_0
    new-instance v1, Lorg/json/JSONObject;

    invoke-direct {v1}, Lorg/json/JSONObject;-><init>()V

    const-string v3, "app"

    .line 101
    :try_start_0
    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v4

    if-nez v4, :cond_2

    const-string v4, "from"

    .line 102
    invoke-virtual {v1, v4, v0}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string v0, "filetype"

    .line 103
    invoke-virtual {v1, v0, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string v0, "suffix"

    const-string v3, "apk"

    .line 104
    invoke-virtual {v1, v0, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    .line 105
    invoke-static {}, Lcom/estrongs/android/statistics/b;->b()Lcom/estrongs/android/statistics/b;

    move-result-object v0

    invoke-virtual {v0, v2, v1}, Lcom/estrongs/android/statistics/b;->a(Ljava/lang/String;Lorg/json/JSONObject;)V
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    .line 106
    :catch_0
    :cond_2
    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/estrongs/android/pop/app/ShowDialogActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 107
    invoke-static {p1}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object p1

    invoke-virtual {v0, p1}, Landroid/content/Intent;->setData(Landroid/net/Uri;)Landroid/content/Intent;

    const/4 p1, 0x1

    const-string v1, "openApkFile"

    .line 108
    invoke-virtual {v0, v1, p1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    .line 109
    invoke-virtual {p0, v0}, Landroid/app/Activity;->startActivity(Landroid/content/Intent;)V

    return-void
.end method

.method private static d(Landroid/app/Activity;Ljava/lang/String;IZ)V
    .locals 22

    move-object/from16 v0, p0

    move-object/from16 v1, p1

    move/from16 v2, p3

    .line 19
    invoke-static/range {p1 .. p1}, Lcom/estrongs/android/util/h0;->U1(Ljava/lang/String;)Z

    move-result v3

    const-string v4, "video/"

    const-string v5, "video/*"

    const-string v6, "*/*"

    const-string v7, "configchange"

    const-string v8, "oneshot"

    const-string v9, "android.intent.action.VIEW"

    const-string v10, "by_open_as"

    const-string v11, "islocalopen"

    const-string v14, "es_from"

    const/4 v15, 0x1

    if-eqz v3, :cond_10

    .line 20
    invoke-static {}, Les/ij;->g()Z

    move-result v3

    if-nez v3, :cond_0

    const v1, 0x7f110a39

    .line 21
    invoke-static {v0, v1, v15}, Lcom/estrongs/android/ui/view/d;->a(Landroid/content/Context;II)V

    return-void

    .line 22
    :cond_0
    invoke-static/range {p1 .. p1}, Lcom/estrongs/android/util/h0;->n2(Ljava/lang/String;)Z

    move-result v3

    const-string v12, "smb"

    if-eqz v3, :cond_8

    sget-boolean v3, Lcom/estrongs/android/pop/j;->V:Z

    if-eqz v3, :cond_8

    .line 23
    :try_start_0
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    sget-object v13, Lcom/estrongs/android/pop/b;->a:Ljava/lang/String;

    invoke-virtual {v3, v13}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v13, "/.smbmount"

    invoke-virtual {v3, v13}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    .line 24
    invoke-static/range {p1 .. p1}, Lcom/estrongs/android/util/h0;->m0(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v13

    .line 25
    invoke-static/range {p1 .. p1}, Lcom/estrongs/android/util/h0;->N(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v15

    move-object/from16 v16, v5

    .line 26
    invoke-static/range {p1 .. p1}, Lcom/estrongs/android/util/h0;->H(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v5
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_4

    .line 27
    :try_start_1
    invoke-static/range {p1 .. p1}, Lcom/estrongs/android/util/h0;->k0(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    const/16 v17, 0x0

    move-object/from16 v18, v4

    const/16 v4, 0x2f

    move-object/from16 v19, v6

    const/4 v6, 0x1

    .line 28
    invoke-virtual {v1, v4, v6}, Ljava/lang/String;->indexOf(II)I

    move-result v4

    const/4 v6, -0x1

    if-eq v4, v6, :cond_1

    const/4 v6, 0x0

    .line 29
    invoke-virtual {v1, v6, v4}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v17

    :cond_1
    move-object/from16 v4, v17

    if-eqz v4, :cond_7

    .line 30
    new-instance v6, Ljava/lang/StringBuilder;

    invoke-direct {v6}, Ljava/lang/StringBuilder;-><init>()V
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_3

    :try_start_2
    const-string v0, "//"

    invoke-virtual {v6, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v6, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v6, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 31
    new-instance v5, Ljava/lang/StringBuilder;

    invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v5, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v5, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    .line 32
    new-instance v5, Ljava/io/File;

    invoke-direct {v5, v4}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v5}, Ljava/io/File;->mkdirs()Z

    .line 33
    new-instance v5, Ljava/lang/StringBuilder;

    invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v5, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v5, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    const-string v3, "EEE"

    .line 34
    new-instance v5, Ljava/lang/StringBuilder;

    invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V

    const-string v6, "Smbpath:"

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v5, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v6, ", mountPoint:"

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v5, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v6, ",username="

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v5, v13}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v6, ",pass:"

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v5, v15}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v6, ",localPath"

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v5, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    invoke-static {v3, v5}, Lcom/estrongs/android/util/n;->b(Ljava/lang/String;Ljava/lang/String;)V

    const/16 v3, 0x8

    new-array v3, v3, [Ljava/lang/String;

    const-string v5, "busybox"

    const/4 v6, 0x0

    aput-object v5, v3, v6

    const-string v5, "mount"

    const/4 v6, 0x1

    aput-object v5, v3, v6

    const/4 v5, 0x2

    const-string v6, "-t"

    aput-object v6, v3, v5

    const/4 v5, 0x3

    const-string v6, "cifs"

    aput-object v6, v3, v5

    const/4 v5, 0x4

    const-string v6, "-o"

    aput-object v6, v3, v5

    .line 35
    new-instance v6, Ljava/lang/StringBuilder;

    invoke-direct {v6}, Ljava/lang/StringBuilder;-><init>()V

    const-string v5, "iocharset=utf8,"

    invoke-virtual {v6, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
    :try_end_2
    .catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_1

    const-string v5, ""

    if-nez v13, :cond_2

    move-object/from16 v21, v1

    move-object v1, v5

    move-object/from16 v20, v1

    goto :goto_0

    :cond_2
    move-object/from16 v20, v5

    :try_start_3
    new-instance v5, Ljava/lang/StringBuilder;

    invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V

    move-object/from16 v21, v1

    const-string v1, "username="

    invoke-virtual {v5, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v5, v13}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    :goto_0
    invoke-virtual {v6, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    if-nez v15, :cond_3

    move-object/from16 v5, v20

    goto :goto_1

    :cond_3
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v5, "password="

    invoke-virtual {v1, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1, v15}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    :goto_1
    invoke-virtual {v6, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v1, ",uid=1000,gid=1015,file_mode=0775,dir_mode=0775,rw"

    invoke-virtual {v6, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    const/4 v5, 0x5

    aput-object v1, v3, v5

    const/4 v1, 0x6

    aput-object v0, v3, v1

    const/4 v0, 0x7

    aput-object v4, v3, v0

    .line 36
    new-instance v0, Ljava/lang/ProcessBuilder;

    invoke-direct {v0, v3}, Ljava/lang/ProcessBuilder;-><init>([Ljava/lang/String;)V

    const/4 v1, 0x1

    .line 37
    invoke-virtual {v0, v1}, Ljava/lang/ProcessBuilder;->redirectErrorStream(Z)Ljava/lang/ProcessBuilder;

    .line 38
    invoke-virtual {v0}, Ljava/lang/ProcessBuilder;->start()Ljava/lang/Process;

    move-result-object v0

    .line 39
    invoke-virtual {v0}, Ljava/lang/Process;->waitFor()I

    .line 40
    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0, v9}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    const/high16 v1, 0x4000000

    .line 41
    invoke-virtual {v0, v1}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

    const/4 v1, 0x1

    .line 42
    invoke-virtual {v0, v8, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    const/4 v3, 0x0

    .line 43
    invoke-virtual {v0, v7, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    .line 44
    invoke-virtual {v0, v10, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    .line 45
    invoke-virtual {v0, v11, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    .line 46
    invoke-virtual {v0, v14, v12}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 47
    new-instance v1, Ljava/io/File;

    move-object/from16 v3, v21

    invoke-direct {v1, v3}, Ljava/io/File;-><init>(Ljava/lang/String;)V
    :try_end_3
    .catch Ljava/lang/Exception; {:try_start_3 .. :try_end_3} :catch_1

    move-object/from16 v3, p0

    :try_start_4
    invoke-static {v3, v1}, Lcom/estrongs/android/util/l;->a(Landroid/content/Context;Ljava/io/File;)Landroid/net/Uri;

    move-result-object v1

    .line 48
    invoke-static/range {p1 .. p1}, Lcom/estrongs/android/util/n0;->d(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    move-object/from16 v5, v19

    .line 49
    invoke-virtual {v5, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v5

    if-eqz v5, :cond_4

    .line 50
    invoke-static/range {p2 .. p2}, Lcom/estrongs/android/util/n0;->b(I)Ljava/lang/String;

    move-result-object v4

    :cond_4
    if-nez v2, :cond_6

    if-eqz v4, :cond_5

    move-object/from16 v6, v18

    .line 51
    invoke-virtual {v4, v6}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v5

    if-nez v5, :cond_5

    goto :goto_2

    :cond_5
    move-object v5, v4

    goto :goto_3

    :cond_6
    :goto_2
    move-object/from16 v5, v16

    .line 52
    :goto_3
    invoke-virtual {v0, v1, v5}, Landroid/content/Intent;->setDataAndType(Landroid/net/Uri;Ljava/lang/String;)Landroid/content/Intent;
    :try_end_4
    .catch Ljava/lang/Exception; {:try_start_4 .. :try_end_4} :catch_2

    move-object/from16 v1, p1

    .line 53
    :try_start_5
    invoke-static {v3, v0, v1}, Lcom/estrongs/android/pop/view/utils/b;->a(Landroid/app/Activity;Landroid/content/Intent;Ljava/lang/String;)V

    return-void

    :catch_0
    nop

    goto :goto_4

    :catch_1
    move-object/from16 v3, p0

    :catch_2
    move-object/from16 v1, p1

    goto :goto_4

    :cond_7
    move-object/from16 v1, p1

    move-object v3, v0

    .line 54
    new-instance v0, Ljava/lang/Exception;

    const-string v4, "err"

    invoke-direct {v0, v4}, Ljava/lang/Exception;-><init>(Ljava/lang/String;)V

    throw v0
    :try_end_5
    .catch Ljava/lang/Exception; {:try_start_5 .. :try_end_5} :catch_0

    :catch_3
    move-object/from16 v1, p1

    :catch_4
    :cond_8
    move-object v3, v0

    .line 55
    :goto_4
    invoke-static/range {p1 .. p1}, Lcom/estrongs/android/util/h0;->N0(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_f

    .line 56
    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0, v9}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    const/high16 v4, 0x4000000

    .line 57
    invoke-virtual {v0, v4}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

    const/4 v4, 0x1

    .line 58
    invoke-virtual {v0, v8, v4}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    const/4 v5, 0x0

    .line 59
    invoke-virtual {v0, v7, v5}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    .line 60
    invoke-virtual {v0, v10, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    .line 61
    invoke-virtual {v0, v11, v4}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    .line 62
    invoke-static/range {p1 .. p1}, Lcom/estrongs/android/util/h0;->H1(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_9

    const-string v2, "pan"

    .line 63
    invoke-virtual {v0, v14, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    :goto_5
    const/4 v2, 0x1

    goto :goto_7

    .line 64
    :cond_9
    invoke-static/range {p1 .. p1}, Lcom/estrongs/android/util/h0;->d1(Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_d

    invoke-static/range {p1 .. p1}, Lcom/estrongs/android/util/h0;->f1(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_a

    goto :goto_6

    .line 65
    :cond_a
    invoke-static/range {p1 .. p1}, Lcom/estrongs/android/util/h0;->n2(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_b

    .line 66
    invoke-virtual {v0, v14, v12}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    goto :goto_5

    .line 67
    :cond_b
    invoke-static/range {p1 .. p1}, Lcom/estrongs/android/util/h0;->D2(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_c

    const-string v2, "webdav"

    .line 68
    invoke-virtual {v0, v14, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    goto :goto_5

    :cond_c
    const-string v2, "remote"

    .line 69
    invoke-virtual {v0, v14, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    goto :goto_5

    :cond_d
    :goto_6
    const-string v2, "ftp"

    .line 70
    invoke-virtual {v0, v14, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    goto :goto_5

    .line 71
    :goto_7
    invoke-static {v1, v2}, Lcom/estrongs/android/util/h0;->a(Ljava/lang/String;Z)Ljava/lang/String;

    move-result-object v2

    if-nez v2, :cond_e

    return-void

    .line 72
    :cond_e
    invoke-static {v2}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v2

    .line 73
    invoke-static/range {p2 .. p2}, Lcom/estrongs/android/util/n0;->b(I)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v0, v2, v4}, Landroid/content/Intent;->setDataAndType(Landroid/net/Uri;Ljava/lang/String;)Landroid/content/Intent;

    .line 74
    invoke-static {v3, v0, v1}, Lcom/estrongs/android/pop/view/utils/b;->a(Landroid/app/Activity;Landroid/content/Intent;Ljava/lang/String;)V

    goto/16 :goto_a

    .line 75
    :cond_f
    new-instance v0, Landroid/content/Intent;

    const-class v4, Lcom/estrongs/android/pop/app/StreamingMediaPlayer;

    invoke-direct {v0, v3, v4}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const/high16 v4, 0x4000000

    .line 76
    invoke-virtual {v0, v4}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

    .line 77
    invoke-static/range {p1 .. p1}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/content/Intent;->setData(Landroid/net/Uri;)Landroid/content/Intent;

    .line 78
    invoke-virtual {v0, v10, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    const/4 v12, 0x1

    .line 79
    invoke-virtual {v0, v11, v12}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    const-string v1, "bluet"

    .line 80
    invoke-virtual {v0, v14, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 81
    invoke-virtual {v3, v0}, Landroid/app/Activity;->startActivity(Landroid/content/Intent;)V

    goto :goto_a

    :cond_10
    move-object v3, v0

    move-object/from16 v16, v5

    move-object v5, v6

    const/4 v12, 0x1

    move-object v6, v4

    const/high16 v4, 0x4000000

    .line 82
    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0, v9}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    .line 83
    invoke-virtual {v0, v4}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

    .line 84
    invoke-virtual {v0, v8, v12}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    const/4 v4, 0x0

    .line 85
    invoke-virtual {v0, v7, v4}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    .line 86
    invoke-virtual {v0, v11, v12}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    .line 87
    invoke-virtual {v0, v10, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    const-string v4, "native"

    .line 88
    invoke-virtual {v0, v14, v4}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 89
    invoke-static/range {p1 .. p1}, Lcom/estrongs/android/pop/app/FileContentProvider;->b(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v4

    .line 90
    invoke-static/range {p1 .. p1}, Lcom/estrongs/android/util/n0;->d(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v7

    .line 91
    invoke-virtual {v5, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v5

    if-eqz v5, :cond_11

    .line 92
    invoke-static/range {p2 .. p2}, Lcom/estrongs/android/util/n0;->b(I)Ljava/lang/String;

    move-result-object v7

    :cond_11
    if-nez v2, :cond_13

    if-eqz v7, :cond_12

    .line 93
    invoke-virtual {v7, v6}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_12

    goto :goto_8

    :cond_12
    move-object v5, v7

    goto :goto_9

    :cond_13
    :goto_8
    move-object/from16 v5, v16

    .line 94
    :goto_9
    invoke-virtual {v0, v4, v5}, Landroid/content/Intent;->setDataAndType(Landroid/net/Uri;Ljava/lang/String;)Landroid/content/Intent;

    .line 95
    invoke-static {v3, v0, v1}, Lcom/estrongs/android/pop/view/utils/b;->a(Landroid/app/Activity;Landroid/content/Intent;Ljava/lang/String;)V

    :goto_a
    return-void
.end method

.method public static d(Landroid/app/Activity;Ljava/lang/String;Ljava/lang/String;)V
    .locals 3

    if-eqz p2, :cond_7

    .line 1
    invoke-virtual {p2}, Ljava/lang/String;->length()I

    move-result v0

    if-nez v0, :cond_0

    goto/16 :goto_0

    .line 2
    :cond_0
    invoke-static {p1}, Lcom/estrongs/android/util/o0;->a(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_1

    move-object p1, p2

    .line 3
    :cond_1
    invoke-static {p2}, Lcom/estrongs/android/util/n0;->T(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_2

    invoke-static {p2}, Lcom/estrongs/android/util/n0;->V(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_2

    .line 4
    new-instance p1, Lcom/estrongs/android/pop/view/utils/b$d;

    invoke-direct {p1, p0}, Lcom/estrongs/android/pop/view/utils/b$d;-><init>(Landroid/app/Activity;)V

    invoke-virtual {p0, p1}, Landroid/app/Activity;->runOnUiThread(Ljava/lang/Runnable;)V

    return-void

    :cond_2
    const-string v0, ".eslock"

    .line 5
    invoke-virtual {p2, v0}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v0

    const/4 v1, 0x1

    if-eqz v0, :cond_4

    .line 6
    invoke-static {p2}, Lcom/estrongs/android/util/h0;->y1(Ljava/lang/String;)Z

    move-result p1

    if-eqz p1, :cond_3

    .line 7
    new-instance p1, Ljava/util/ArrayList;

    invoke-direct {p1}, Ljava/util/ArrayList;-><init>()V

    .line 8
    new-instance v0, Lcom/estrongs/fs/impl/local/d;

    new-instance v2, Ljava/io/File;

    invoke-direct {v2, p2}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-direct {v0, v2}, Lcom/estrongs/fs/impl/local/d;-><init>(Ljava/io/File;)V

    invoke-interface {p1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 9
    invoke-static {p0, p1, v1}, Lcom/estrongs/android/pop/utils/p;->a(Landroid/app/Activity;Ljava/util/List;Z)V

    return-void

    :cond_3
    const p1, 0x7f110767

    const/4 p2, 0x0

    .line 10
    invoke-static {p0, p1, p2}, Lcom/estrongs/android/ui/view/d;->a(Landroid/content/Context;II)V

    return-void

    .line 11
    :cond_4
    invoke-static {p2}, Lcom/estrongs/android/util/h0;->U1(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_6

    invoke-static {p2}, Lcom/estrongs/android/pop/view/utils/b;->a(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_6

    .line 12
    invoke-static {p2}, Lcom/estrongs/android/util/h0;->y(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    .line 13
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "/sdcard/"

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 14
    invoke-static {p0, v0}, Lcom/estrongs/android/pop/view/utils/b;->b(Landroid/app/Activity;Ljava/lang/String;)Landroid/content/Intent;

    move-result-object v0

    if-nez v0, :cond_5

    .line 15
    invoke-static {p0, p1}, Lcom/estrongs/android/pop/view/utils/b;->a(Landroid/app/Activity;Ljava/lang/String;)Lcom/estrongs/android/pop/view/utils/c$c;

    move-result-object p1

    if-nez p1, :cond_5

    .line 16
    new-instance p1, Lcom/estrongs/android/pop/view/utils/b$e;

    invoke-direct {p1, p0, p2}, Lcom/estrongs/android/pop/view/utils/b$e;-><init>(Landroid/app/Activity;Ljava/lang/String;)V

    invoke-virtual {p0, p1}, Landroid/app/Activity;->runOnUiThread(Ljava/lang/Runnable;)V

    return-void

    .line 17
    :cond_5
    new-instance p1, Ljava/lang/StringBuilder;

    invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V

    sget-object v0, Lcom/estrongs/android/pop/a;->b:Ljava/lang/String;

    invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v0, "/"

    invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-static {p2}, Lcom/estrongs/android/pop/view/utils/b;->b(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    const/4 v0, 0x0

    invoke-static {p0, p2, p1, v0, v1}, Lcom/estrongs/android/pop/view/utils/b;->a(Landroid/app/Activity;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Runnable;Z)V

    goto :goto_0

    .line 18
    :cond_6
    invoke-static {p0, p1, p2}, Lcom/estrongs/android/pop/view/utils/b;->b(Landroid/app/Activity;Ljava/lang/String;Ljava/lang/String;)V

    :cond_7
    :goto_0
    return-void
.end method

.method private static d(Ljava/lang/String;)Z
    .locals 2

    .line 110
    new-instance v0, Landroid/media/MediaMetadataRetriever;

    invoke-direct {v0}, Landroid/media/MediaMetadataRetriever;-><init>()V

    const/4 v1, 0x0

    .line 111
    :try_start_0
    invoke-virtual {v0, p0}, Landroid/media/MediaMetadataRetriever;->setDataSource(Ljava/lang/String;)V

    const/16 p0, 0x11

    .line 112
    invoke-virtual {v0, p0}, Landroid/media/MediaMetadataRetriever;->extractMetadata(I)Ljava/lang/String;

    move-result-object p0
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_2
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    if-eqz p0, :cond_0

    const/4 v1, 0x1

    .line 113
    :cond_0
    :try_start_1
    invoke-virtual {v0}, Landroid/media/MediaMetadataRetriever;->release()V
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0

    :catch_0
    return v1

    :catchall_0
    move-exception p0

    :try_start_2
    invoke-virtual {v0}, Landroid/media/MediaMetadataRetriever;->release()V
    :try_end_2
    .catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_1

    .line 114
    :catch_1
    throw p0

    .line 115
    :catch_2
    :try_start_3
    invoke-virtual {v0}, Landroid/media/MediaMetadataRetriever;->release()V
    :try_end_3
    .catch Ljava/lang/Exception; {:try_start_3 .. :try_end_3} :catch_3

    :catch_3
    return v1
.end method

.method public static e(Landroid/app/Activity;Ljava/lang/String;)Lcom/estrongs/android/ui/dialog/q;
    .locals 11

    const/4 v0, 0x5

    new-array v0, v0, [Ljava/lang/CharSequence;

    const v1, 0x7f110afd

    .line 1
    invoke-virtual {p0, v1}, Landroid/app/Activity;->getText(I)Ljava/lang/CharSequence;

    move-result-object v2

    const/4 v3, 0x0

    aput-object v2, v0, v3

    const v2, 0x7f110afb

    .line 2
    invoke-virtual {p0, v2}, Landroid/app/Activity;->getText(I)Ljava/lang/CharSequence;

    move-result-object v4

    const/4 v5, 0x1

    aput-object v4, v0, v5

    const v4, 0x7f110afe

    .line 3
    invoke-virtual {p0, v4}, Landroid/app/Activity;->getText(I)Ljava/lang/CharSequence;

    move-result-object v6

    const/4 v7, 0x2

    aput-object v6, v0, v7

    const v6, 0x7f110afc

    .line 4
    invoke-virtual {p0, v6}, Landroid/app/Activity;->getText(I)Ljava/lang/CharSequence;

    move-result-object v8

    const/4 v9, 0x3

    aput-object v8, v0, v9

    const v8, 0x7f1107ec

    .line 5
    invoke-virtual {p0, v8}, Landroid/app/Activity;->getText(I)Ljava/lang/CharSequence;

    move-result-object v8

    const/4 v10, 0x4

    aput-object v8, v0, v10

    .line 6
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->U1(Ljava/lang/String;)Z

    move-result v8

    if-eqz v8, :cond_0

    new-array v0, v10, [Ljava/lang/CharSequence;

    .line 7
    invoke-virtual {p0, v1}, Landroid/app/Activity;->getText(I)Ljava/lang/CharSequence;

    move-result-object v1

    aput-object v1, v0, v3

    .line 8
    invoke-virtual {p0, v2}, Landroid/app/Activity;->getText(I)Ljava/lang/CharSequence;

    move-result-object v1

    aput-object v1, v0, v5

    .line 9
    invoke-virtual {p0, v4}, Landroid/app/Activity;->getText(I)Ljava/lang/CharSequence;

    move-result-object v1

    aput-object v1, v0, v7

    .line 10
    invoke-virtual {p0, v6}, Landroid/app/Activity;->getText(I)Ljava/lang/CharSequence;

    move-result-object v1

    aput-object v1, v0, v9

    .line 11
    :cond_0
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->y(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-static {p0, v1}, Lcom/estrongs/android/pop/view/utils/b;->a(Landroid/app/Activity;Ljava/lang/String;)Lcom/estrongs/android/pop/view/utils/c$c;

    move-result-object v1

    .line 12
    new-instance v2, Lcom/estrongs/android/ui/dialog/q;

    invoke-direct {v2, p0}, Lcom/estrongs/android/ui/dialog/q;-><init>(Landroid/content/Context;)V

    const v4, 0x7f110058

    .line 13
    invoke-virtual {v2, v4}, Lcom/estrongs/android/ui/dialog/q;->setTitle(I)V

    const/4 v4, -0x1

    .line 14
    new-instance v5, Lcom/estrongs/android/pop/view/utils/b$j;

    invoke-direct {v5, v2, p1, p0}, Lcom/estrongs/android/pop/view/utils/b$j;-><init>(Lcom/estrongs/android/ui/dialog/q;Ljava/lang/String;Landroid/app/Activity;)V

    invoke-virtual {v2, v0, v4, v5}, Lcom/estrongs/android/ui/dialog/q;->setItems([Ljava/lang/CharSequence;ILandroid/content/DialogInterface$OnClickListener;)V

    .line 15
    invoke-virtual {v2, v3}, Lcom/estrongs/android/ui/dialog/q;->setSelectable(Z)V

    if-eqz v1, :cond_1

    const v0, 0x7f110816

    .line 16
    invoke-virtual {p0, v0}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v0

    .line 17
    invoke-virtual {p0}, Landroid/app/Activity;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v3, 0x7f08098e

    invoke-virtual {v1, v3}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    new-instance v3, Lcom/estrongs/android/pop/view/utils/b$a;

    invoke-direct {v3, p0, p1}, Lcom/estrongs/android/pop/view/utils/b$a;-><init>(Landroid/app/Activity;Ljava/lang/String;)V

    .line 18
    invoke-virtual {v2, v0, v1, v3}, Lcom/estrongs/android/ui/dialog/q;->setSingleButton(Ljava/lang/CharSequence;Landroid/graphics/drawable/Drawable;Landroid/content/DialogInterface$OnClickListener;)V

    .line 19
    :cond_1
    invoke-virtual {v2}, Lcom/estrongs/android/ui/dialog/q;->show()V

    return-object v2
.end method

.method private static f(Landroid/app/Activity;Ljava/lang/String;)V
    .locals 3

    .line 1
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->U1(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    return-void

    .line 2
    :cond_0
    :try_start_0
    new-instance v0, Landroid/content/Intent;

    const-string v1, "android.intent.action.VIEW"

    invoke-direct {v0, v1}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    .line 3
    new-instance v1, Ljava/io/File;

    invoke-direct {v1, p1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-static {p0, v1}, Lcom/estrongs/android/util/l;->a(Landroid/content/Context;Ljava/io/File;)Landroid/net/Uri;

    move-result-object v1

    const-string v2, "application/vnd.android.package-archive"

    .line 4
    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->setDataAndType(Landroid/net/Uri;Ljava/lang/String;)Landroid/content/Intent;

    .line 5
    sget v1, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v2, 0x18

    if-lt v1, v2, :cond_1

    const/4 v1, 0x1

    .line 6
    invoke-virtual {v0, v1}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

    .line 7
    :cond_1
    invoke-static {p0, v0, p1}, Lcom/estrongs/android/pop/view/utils/b;->a(Landroid/app/Activity;Landroid/content/Intent;Ljava/lang/String;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :catch_0
    return-void
.end method
